//
//  BaseCollectionViewCell.m
//  IntegralMall
//
//  Created by 朱跃龙 on 2017/9/26.
//  Copyright © 2017年 朱跃龙. All rights reserved.
//

#import "BaseCollectionViewCell.h"

@implementation BaseCollectionViewCell

#pragma mark - 底部横线颜色
-(UIColor *)linegraycolor{
    
    UIColor *color = [UIColor colorWithRed:226/255.0 green:226/255.0 blue:226/255.0 alpha:1];
    
    return color;
    
}

#pragma mark - 底部横线
-(void)BottomLine{
    
    UILabel *line = [[UILabel alloc] initWithFrame:CGRectMake(20 * W, self.contentView.frame.size.height, self.contentView.frame.size.width, 1)];
    
    line.backgroundColor = self.linegraycolor;
    
    [self.contentView addSubview:line];
    
}

@end
